package models.mapper;

import java.util.List;

import models.DrKeywords;
import models.DrKeywordsExample;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface DrKeywordsMapper {
    int countByExample(DrKeywordsExample example);

    int deleteByExample(DrKeywordsExample example);

    int deleteByPrimaryKey(String wordid);

    int insert(DrKeywords record);

    int insertSelective(DrKeywords record);

    List<DrKeywords> selectByExample(DrKeywordsExample example);

    DrKeywords selectByPrimaryKey(String wordid);

    int updateByExampleSelective(@Param("record") DrKeywords record, @Param("example") DrKeywordsExample example);

    int updateByExample(@Param("record") DrKeywords record, @Param("example") DrKeywordsExample example);

    int updateByPrimaryKeySelective(DrKeywords record);

    int updateByPrimaryKey(DrKeywords record);
    @Select("select content from DR_KEYWORDS where wordid=#{wordid}")
	String getContentBywordid(String wordid);
}